<?php /* Smarty version Smarty-3.0.7, created on 2012-10-09 20:56:14
         compiled from "./_adm/_adm_mct_temp/_adm_config.mct" */ ?>
<?php /*%%SmartyHeaderCode:1478350741eee3475b2-79490164%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '87d5aeff72c3ed62d574bf40a6bb9038e49cabd8' => 
    array (
      0 => './_adm/_adm_mct_temp/_adm_config.mct',
      1 => 1343744008,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1478350741eee3475b2-79490164',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<script>
    function show_choise(val){
        if(val == 1){
            $("#lg_img").css("display","block");
            $("#lg_img_link").css("display","none");
        }else{
            $("#lg_img").css("display","none");
            $("#lg_img_link").css("display","block");
        }
    }
</script>
<?php echo $_smarty_tpl->getVariable('breakcum')->value;?>

<div class="hastable">
    <div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
		<div class="portlet-header ui-widget-header"><span class="ui-icon ui-icon-circle-arrow-s"></span>Cấu hình Site</div>
		<div class="portlet-content">
        	
            <div id="tabs2" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
				<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
						<li class="ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">Cấu hình chung</a></li>
						<li class="ui-corner-top ui-state-default"><a href="#tabs-2">Cấu hình SMTP </a></li>
						<li class="ui-corner-top ui-state-default"><a href="#tabs-3">Giới thiệu</a></li>
				</ul>
                
                <form name='frm' method='post' action='?obj=Config' enctype="multipart/form-data">
                    <!-- NOI DUNG TAB -->
                        <!-- TAB 1-->
    				<div id="tabs-1">
                    <table width='100%' border="0" cellpadding="2" cellspacing="5">
                        <tr align="left" valign="top">
        					<td align="left" valign='top' width="20%" style="border-right:1px"><b>Tên công ty:</b></td>
        					<td><input name="txtShopName" size="45" value="<?php echo $_smarty_tpl->getVariable('shop_name')->value;?>
" type="text"/></td>
        				</tr>
        				<tr align="left" valign="top">
        					<td align="left" valign='top'><b>Địa chỉ:</b></td>
        					<td><input name='txtAddress' id="txtAddress" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_address')->value;?>
' size='55'  /></td>
        				</tr>
                        <tr align="left" valign="top">
        					<td><b>Điện thoại:</b></td>
        					<td><input name="txtPhone" size="45" value="<?php echo $_smarty_tpl->getVariable('shop_phone')->value;?>
" type="text"/></td>
        				</tr>
        				<tr align="left" valign="top">
        					<td><b>Số Fax:</b></td>
        					<td><input name="txtFax" size="45" value="<?php echo $_smarty_tpl->getVariable('shop_fax')->value;?>
" type="text"/></td>
        				</tr>
        				<tr align="left" valign="top">
        					<td><b>Email:</b></td>
        					<td><input name='txtEmail' id="txtEmail" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_mail')->value;?>
' size='55'  /></td>
        				</tr>
                        <tr align="left" valign="top">
        					<td><b>Website:</b></td>
        					<td><input name='txtShopUrl' id="txtShopUrl" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_url')->value;?>
' size='55'  /></td>
        				</tr>
                        </table>
                    </div>
                        <!-- TAB 2-->
    				<div id="tabs-2">
                     <table width='100%' border="0" cellpadding="2" cellspacing="5">
            				<tr align="left" valign="top">
            					<td valign='top'><b>SMTP Server :</b></td>
            					<td><input name='txtShop_Smtp_Server' id="txtShop_Smtp_Server" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_smtp_server')->value;?>
' size='55'  /></td>
            				</tr>
            				<tr align="left" valign="top">
            					<td valign='top'><b>SMTP Port :</b></td>
            					<td><input name='txtShop_Smtp_Port' id="txtShop_Smtp_Port" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_smtp_port')->value;?>
' size='7'  /></td>
            				</tr>  
            				<tr align="left" valign="top">
            					<td valign='top'><b>SMTP Uername :</b></td>
            					<td><input name='txtShop_Smtp_User' id="txtShop_Smtp_User" type='text' value='<?php echo $_smarty_tpl->getVariable('shop_email_username')->value;?>
' size='55'  /></td>
            				</tr> 
            				<tr align="left" valign="top">
            					<td valign='top'><b>SMTP password :</b></td>
            					<td><input name='txtShop_Smtp_Pass' id="txtShop_Smtp_Pass" type='password' value='<?php echo $_smarty_tpl->getVariable('shop_email_pass')->value;?>
' size='55'  /></td>
            				</tr>   
                        </table>                   
                    </div>
                        <!-- TAB 3-->
    				<div id="tabs-3">
                     <table width='100%' border="0" cellpadding="2" cellspacing="5">
                        
        				<tr align="left" valign="top">
        					<td colspan="2" valign='top'><b>Giới thiệu công ty:</b></td>
        				</tr>
                                        
        				<tr align="left" valign="top">
        					<td colspan="2">
        			        		<textarea rows="2" id="txtAbout" name="txtAbout" cols="39"><?php echo $_smarty_tpl->getVariable('shop_about')->value;?>
</textarea>
        						<script>
        							show_editor('txtAbout','full');
        						</script>
        					</td>
        				</tr> 
                       </table>     
                    </div>
                    <!-- Tab 4 -->
    				        
			</div>
        <table width='100%' border="0" cellpadding="2" cellspacing="5">
				<tr align="left" valign="top">
					<td colspan='2' style='text-align: center'><input class="ui-state-default ui-corner-all" type='submit' name='save' value='Lưu thay đổi' /> <input  type="button" value="Hủy bỏ" onclick="redirect('admin.php?obj=Config')" class="ui-state-default ui-corner-all"/></td>
				</tr>
                </table>
				</form>
		
        </div>
     </div>       
</div>